package com.vo;

/*
 *
 *@author XCH
 *@date2025 - 02 - 24
 *
 */
public class ResponseData {
    /**
     * 消息代码，默认200
     */
    private Integer code = 200;

    /**
     * 客户端消息
     */
    private String msg;

    /**
     * 返回客户端具体的数据结果
     */
    private Object data;

    public ResponseData() {
    }

    public ResponseData(Integer code, String msg, Object data) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
